package day1;
//学生
public class Student extends Person{
    private String school;
    //重写父类方法
    public void speak(){
        System.out.println("i am student");
    }

    public String getSchool() {
        return school;
    }
    public void setSchool(String school) {
        this.school = school;
    }
}
